﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DB_EntityFramework.UserManaging
{
    public class UserContext: DbContext
    {
        public UserContext()
            : base("defaultConn")
        {
            Database.SetInitializer<UserContext>(null);
            
        }

        public DbSet<User> Users { get; set; }
        public DbSet<Roles> Role { get; set; }
        public DbSet<Employee> Emploees { get; set; }
        public DbSet<Employer> Emploers { get; set; }        
        public DbSet<Language> Language { get; set; }
        public DbSet<LevelLanguage> LevelLanguages { get; set; }
        public DbSet<UserLanguage> UserLanguages { get; set; }
        public DbSet<Resume> Resumes { get; set; }
        public DbSet<Vacancy> Vacansys { get; set; }
        public DbSet<Education> Educations { get; set; }
        public DbSet<Sity> Sitys { get; set; }
        public DbSet<WorkOnSections> WorksOnSections { get; set;}
    }
    
}
